home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8434 / 8434.xpi / chrome / content / manage.xul < prev    next >
Extensible Markup Language  |  2010-02-09  |  4KB  |  82 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://googleredesigned/skin/manage.css" type="text/css"?>
  4. <!DOCTYPE dialog [
  5. <!ENTITY % common SYSTEM "chrome://googleredesigned/locale/common.dtd">
  6. <!ENTITY % branding SYSTEM "chrome://googleredesigned/content/branding.dtd">
  7. <!ENTITY % manage SYSTEM "chrome://googleredesigned/locale/manage.dtd">
  8. %common;
  9. %branding;
  10. %manage;
  11. ]>
  12. <dialog id="googleredesigned"
  13. title="&title;"
  14. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15. xmlns:html="http://www.w3.org/1999/xhtml"
  16. onload="load()"
  17. windowtype="googleredesigned"
  18. persist="screenX screenY"
  19. buttons="none">
  20. <script type="application/javascript" src="rdfds.js"/>
  21. <script type="application/javascript" src="common.js"/>
  22. <script type="application/javascript" src="GoogleRedesignedStyle.js"/>
  23. <script type="application/javascript" src="manage.js"/>
  24. <script src="chrome://global/content/nsDragAndDrop.js"/>
  25. <script src="chrome://global/content/nsTransferable.js"/>
  26. <stringbundle id="strings" src="chrome://googleredesigned/locale/googleredesigned.properties"/>
  27. <!--<hbox id="toolbar">
  28.     <toolbarbutton id="add" label="&write;" accesskey="&write.ak;" oncommand="openAdd()"/>
  29.     <toolbarbutton id="edit" label="&edit;" accesskey="&edit.ak;" oncommand="handleEditButtonClick()" disabled="true"/>
  30.     <toolbarbutton id="delete" label="&googleredesigned.delete;" accesskey="&googleredesigned.delete.ak;" oncommand="handleDeleteButtonClick()" disabled="true"/>
  31.     <toolbarbutton id="update" label="&findupdates;" accesskey="&findupdates.ak;" oncommand="findUpdateButtonClick()"/>
  32.     <toolbarbutton id="help" label="&help;" accesskey="&help.ak;" oncommand="document.getElementById('help-link').click()"/>
  33. </hbox>
  34. <keyset>
  35.     <key modifiers="control" key="N" oncommand="openAdd()"/>
  36.     <key modifiers="control" key="F" oncommand="document.getElementById('filter').focus()"/>
  37.     <key keycode="VK_F1" oncommand="document.getElementById('help-link').click()"/>
  38. </keyset>
  39. <label id="help-link" class="text-link" href="http://userstyles.org/googleredesigned/help"/>
  40. <deck id="hide-tree" flex="1">
  41.     <vbox flex="1">
  42.         <hbox align="center" id="search-box">
  43.             <label accesskey="&filter.ak;" control="filter">&filter;</label>
  44.             <textbox id="filter" oninput="inputFilter(event)" flex="1"/>
  45.             <button id="clearFilter" oncommand="clearFilter()" label="&clearfilter;" accesskey="&clearfilter.ak;" disabled="true"/>
  46.         </hbox>
  47.         <description id="manage-info">
  48.             &info;
  49.         </description>
  50.         <tree id="styles" flex="1" editable="true" onselect="changeSelection()" persist="sortDirection sortResource" sortDirection="ascending" sortResource="description" onkeypress="styleListKeyPress(event)" enableColumnDrag="true">
  51.             <treecols>
  52.                 <treecol id="enabledString" src="chrome://global/skin/checkbox/cbox-check.gif" label="&googleredesigned.enabled;" flex="0" persist="width ordinal hidden" type="checkbox" editable="true" onclick="sort(this)" class="treecol-image sortDirectionIndicator"/>
  53.                 <splitter class="tree-splitter"/>
  54.                 <treecol id="description" label="&googleredesigned.description;" flex="1" persist="width ordinal hidden" onclick="sort(this)" class="sortDirectionIndicator" sortDirection="ascending"/>
  55.                 <splitter class="tree-splitter"/>
  56.                 <treecol id="appliesToDisplay" label="&appliesTo;" flex="1" persist="width ordinal hidden" onclick="sort(this)" class="sortDirectionIndicator"/>
  57.                 <splitter class="tree-splitter"/>
  58.                 <treecol id="treeDisplayCode" label="&googleredesigned.code;" flex="2" hidden="true" persist="width ordinal hidden" onclick="sort(this)" class="sortDirectionIndicator"/>
  59.             </treecols>
  60.             <treechildren id="styles-children" ondblclick="handleStyleListDoubleClick(event)" ondraggesture="nsDragAndDrop.startDrag(event, listObserver)"/>
  61.         </tree>
  62.     </vbox>
  63.     <description id="no-styles">
  64.         &nostyles;
  65.     </description>
  66. </deck>-->
  67. <tabbox>
  68. <tabs>
  69. <tab label="Preferences"/>
  70. </tabs>
  71. <tabpanels>
  72. <tabpanel id="preferencestab">
  73. <vbox>
  74.     <checkbox label="Hide the statusbar icon" id="hidesbicon" persist="checked" />
  75.     <checkbox label="Show Tools Menu option" id="toolsmnicon" persist="checked" />
  76.     <checkbox label="Turn off automatic updates" id="turnoffau" persist="checked" />
  77. </vbox>
  78. </tabpanel>
  79. </tabpanels>
  80. </tabbox>
  81. </dialog>
  82.